var utils = require('../../../../utils/util.js');

Page({
    data: {
        content:""
    },
    onShow: function () {
        this.getAgreement();
    },
    getAgreement:function(){
        var that = this;
        var data = {
            url:"/yluser/page/agreement",
            type:1
        };
        utils.request(data).then(function(res){
            if (res.code == 0) {
                that.setData({
                	content:res.data
                })
            }
        });
    }
})